﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace H.Hands
{
    /// <summary>
    /// 键盘操作
    /// </summary>
    public interface IKeyBoard
    {
        /// <summary>
        /// 按下并弹起一个或一组键盘按键
        /// </summary>
        /// <returns>是否执行成功</returns>
        bool Click();

        /// <summary>
        /// 按下一个或一组键盘按键
        /// </summary>
        /// <returns>是否执行成功</returns>
        bool Down();

        /// <summary>
        /// 弹起一个或一组键盘按键
        /// </summary>
        /// <returns>是否执行成功</returns>
        bool Up();
    }
}
